package com.personal.website.lottery.web.service;

import com.personal.website.lottery.web.model.User;

import java.util.List;

/**
 * Created by Gavin on 2016/1/24.
 */
public interface UserService {
    public User getUserById(int id);
    public List<User> getUserByUserName(String userName);
    public List<User> getUserByMobilePhoneNo(String mobilePhoneNo);
    public List<User> getUserByEmail(String email);
    public void insertUser(User user);
    public boolean updateUser(User user);

    Boolean validateUserInfo(String userName, String email);
}
